package com.zbw.service.impl;

import com.zbw.domain.Evaluate;
import com.zbw.mapper.EvaluateMapper;
import com.zbw.mapper.MessageMapper;
import com.zbw.service.IEvaluateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class evaluateServiceImpl implements IEvaluateService {

    @Resource
    private EvaluateMapper evaluateMapper;



    @Override
    public void insertEvaluate(Evaluate evaluate) {
        evaluateMapper.insert(evaluate);
    }

    @Override
    public List<Evaluate> queryEvaluate() {
        return evaluateMapper.queryEvaluate();
    }
}
